<?php
$this->Javascript->link(array('jquery-1.6.4.min.js','jquery.validate.min.js', 'shadowbox.js'), false);
?>
<script type="text/javascript">
Shadowbox.init({});
</script>

<div id="vakindex">
<div id="vakgrafiek">
<p id="homebar"></p>
<br/>
<p><p id="graph1"></p>
<p id="graph2"></p>
<p id="graph3"></p>
<p><a href="#"><?php echo $this->Html->image('header.png', array('alt' => 'Compare laundry wastage with europe. get free advice. start today', 'class' => 'indexheader'))?></a></p>
</div>

<div id="demo">
<?php
echo $this->Html->link(
	$this->Html->image('demo.png', array('alt' => 'View demo', 'class' => 'demobutton')),
	'/uploads/demo.mp4',
	array('escape' => false, 'target' => '_blank')
);
?>
</div>

<div id="login">
<?php
    echo $this->Session->flash('auth');
    echo $this->Form->create('User', array('action' => 'login', 'class' => 'form'));
    echo $this->Form->input('email', array('class' => 'textfielhome'));
    echo $this->Form->input('password', array('class' => 'textfielhome'));
	echo '<span class="small">' . $this->Html->link('Forgot your password?', '/users/forgot', array('class' => 'small')) . '</span>';
    echo $this->Form->end(array('class' => 'homelogin', 'label' => 'Login', 'after' => '<span>' . $this->Html->link('Register', '/users/register', array('class' => 'small')) . '</span>'));
?>
</div>
</div>

<div id="vakunder">
<a class="vakundera1" href="#">
<p class="advicehomeheader">An instrument for succes</p>
<p class="advicetext">Read a sample of the kind of advice you can expect as member. Each piece of text is an instrument for unprecedented gain and benefit as a laundry owner. This may just change everything you know about laundries.</p>
<?php echo $this->Html->image('machine.png', array('alt' => 'washingmachine', 'class' => 'wasmachinegraph'))?>
</a>

<?php echo $this->Html->link('
<p class="laundryinfoheader">Top-class support just a click away</p>
<p class="laundryinfotext">It makes perfect sense to offer the best possible support for a cause like this. For any of your questions regarding the SMILES  initiative or this site, please visit support. </p>' .
$this->Html->image('phone.png', array('alt' => 'telephone', 'class' => 'telephonegraph')) .
'</a>',
'/pages/support', 
array('escape' => false, 'class' => 'vakundera2')
)?></div>
